package cn.itrip.auth.service;

import cn.itrip.beans.dtos.Dto;
import cn.itrip.beans.pojo.User;

import javax.mail.MessagingException;
import java.util.List;

/*
        spring.xml
        springmvc.xml
        web.xml
        mybatis.xml
         jdbc.propertie
         log4j.properties
 */
public interface UserService {
        Dto isExists(String name);

        Dto regedit(User user)throws MessagingException;

        Dto activeUser(String user, String code);

        Dto regeditByphone(User user);
}
